<template>
  <div class="finished-edit">
    <div class="finished-edit-list">
      <div class="finished-edit-list-name">母体信息</div>
      <div class="finished-edit-list-box">
        <div class="finished-edit-list-slideshow">
          <SwiperChild />
        </div>
        <div class="finished-edit-list-content">
          <div class="finished-edit-name">
            <div class="edit-name">成品ID<i></i></div>
            <el-input placeholder="请输入成品ID" v-model="input" clearable>
            </el-input>
          </div>
          <div class="finished-edit-name">
            <div class="edit-name">材质<i></i></div>
            <el-input placeholder="请输入材质" v-model="input" clearable>
            </el-input>
          </div>
          <div class="finished-edit-name">
            <div class="edit-name">素材<i></i></div>
            <el-input placeholder="请输入素材" v-model="input" clearable>
            </el-input>
          </div>
          <div class="finished-edit-name">
            <div class="edit-name">导出名称<i></i></div>
            <el-input placeholder="请输入导出名称" v-model="input" clearable>
            </el-input>
          </div>
        </div>
      </div>
    </div>
    <div class="finished-edit-list">
      <div class="finished-edit-list-name">变体信息</div>
      <div class="finished-edit-list-box">
        <div class="finished-edit-list-slideshow">
          <SwiperChild />
        </div>
        <div class="finished-edit-list-content">
          <div class="finished-edit-name">
            <div class="edit-name">成品ID<i></i></div>
            <el-input placeholder="请输入成品ID" v-model="input" clearable>
            </el-input>
          </div>
          <div class="finished-edit-name">
            <div class="edit-name">材质<i></i></div>
            <el-input placeholder="请输入材质" v-model="input" clearable>
            </el-input>
          </div>
          <div class="finished-edit-name">
            <div class="edit-name">素材<i></i></div>
            <el-input placeholder="请输入素材" v-model="input" clearable>
            </el-input>
          </div>
          <div class="finished-edit-name">
            <div class="edit-name">导出名称<i></i></div>
            <el-input placeholder="请输入导出名称" v-model="input" clearable>
            </el-input>
          </div>
          <div class="finished-edit-name">
            <div class="edit-name">成品颜色<i></i></div>
            <el-input placeholder="请输入成品颜色" v-model="input" clearable>
            </el-input>
          </div>
        </div>
      </div>
    </div>
    <div class="finished-edit-specification">
      <div class="finished-edit-specification-left">
        <div class="specification-left-item">
          <span>规格:</span>
          <div class="specification-left-item-content">
            <div
              class="specification-left-item-content-list"
              v-for="(item, index) in [1, 1, 1, 1, 1, 1, 1, 1]"
              :key="index"
            >
              S
            </div>
            <div class="specification-left-item-content-list">M</div>
          </div>
        </div>
        <div class="specification-left-item">
          <span>颜色:</span>
          <div class="specification-left-item-content">
            <div
              class="specification-left-item-content-list"
              v-for="(item, index) in [1, 1, 1, 1, 1, 1, 1, 1]"
              :key="index"
            >
              S
            </div>
            <div class="specification-left-item-content-list">M</div>
          </div>
        </div>
      </div>
      <div class="finished-edit-specification-right">
        <div class="specification-right-item">
          <el-button type="info">信息按钮</el-button>
          <el-button type="warning">警告按钮</el-button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import SwiperChild from '@/components/Swiper/swiper-child.vue';

export default {
  name: 'finishedEdit',
  components: { SwiperChild },
  props: {},
  data() {
    return {
      input: '',
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
  mounted() {},
};
</script>

<style scoped lang="less">
.finished-edit {
  height: 500px;
  overflow-y: auto;

  .finished-edit-list {
    .finished-edit-list-name {
      font-weight: 700;
      height: 45px;
      line-height: 45px;
    }

    .finished-edit-list-box {
      display: flex;
      justify-content: space-between;

      .finished-edit-list-slideshow {
        width: 180px;
      }

      .finished-edit-list-content {
        // padding-left: 24px;
        padding-right: 24px;

        .finished-edit-name {
          display: flex;
          align-items: center;
          margin-bottom: 10px;

          .edit-name {
            width: 80px;
            text-align: justify;

            i {
              width: 100%;
              display: inline-block;
            }
          }

          .el-input {
            flex: 1;
            padding-left: 12px;
          }
        }
      }
    }
  }

  .finished-edit-specification {
    display: flex;

    .finished-edit-specification-left {
      flex: 1;

      .specification-left-item {
        display: flex;

        .specification-left-item-content {
          display: flex;
          flex-wrap: wrap;
          padding-left: 4px;
          flex: 1;

          .specification-left-item-content-list {
            width: 45px;
            text-align: center;
            height: 22px;
            line-height: 22px;
            border-radius: 4px;
            border: 1px solid #ebebeb;
            margin-right: 6px;
            margin-bottom: 6px;
            font-size: 12px;
          }
        }
      }
    }
    .finished-edit-specification-right {
      flex: 1;
    }
  }
}
</style>
